package com.xinsoft.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xinsoft.entity.dto.CusUpkeepParam;
import com.xinsoft.entity.po.CusUpkeep;
import com.xinsoft.entity.po.CusUpkeepOrderEntry;
import com.xinsoft.entity.po.CusUpkeepOrderPart;
import com.xinsoft.entity.vo.CusUpkeepVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author lijie
* @description 针对表【cus_upkeep(保养工单)】的数据库操作Mapper
* @createDate 2023-06-19 11:14:54
* @Entity com.xinsoft.entity.po.CusUpkeep
*/
public interface CusUpkeepMapper extends BaseMapper<CusUpkeep> {

    IPage<CusUpkeepVo> findListByParam(Page<CusUpkeep> page, @Param("param") CusUpkeepParam param);

    CusUpkeepVo getInfoById(Integer id);

    List<CusUpkeepOrderEntry> getOrderList(Integer id);

    List<CusUpkeepOrderPart> getPartList(Integer id);
}




